package kr.hkit.powerjava.chapter11.work;

public abstract class Shape {
	private int size; // 크기
	private int area; // 둘레
	
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public int getArea() {
		return area;
	}
	public void setArea(int area) {
		this.area = area;
	}
	
	public abstract int size(); // 둘레
	public abstract double area(); // 면적
	@Override
	public String toString() {
		return "Shape [size=" + size + ", area=" + area + "]";
	}		

}
